package com.dk.base.core.dbbase;


import com.dk.common.dbaccess.commont.Comment;
import com.dk.common.dbaccess.entity.AbstractAuditable;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;

/**
 * jpa注释
 */
@Setter
@Getter
@Entity
@Table(name = "demo_comment")
public class DemoComment extends AbstractAuditable {


    @Comment("名称")
    private String name;

    @Comment("年龄")
    private Integer age;
}
